﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PMSWenLvTing.Model.JiuDian
{
    /// <summary>
    /// 酒店用户dto
    /// </summary>
    public class DTO_yonghu_jiudian
    {
		#region Model
		private int _id;
		private string _zhanghao;
		private int _zhuangtai;
		private string _jdid_json = "[]";
		private int _leixing;
		private string _xingming;
		private string _guid_jdyh;
		private int _mother_id;
		/// <summary>
		/// 酒店用户表
		/// </summary>
		public int id
		{
			set { _id = value; }
			get { return _id; }
		}
		/// <summary>
		/// 账号
		/// </summary>
		public string zhanghao
		{
			set { _zhanghao = value; }
			get { return _zhanghao; }
		}
		/// <summary>
		/// 状态 1启用 2暂停 3删除
		/// </summary>
		public int zhuangtai
		{
			set { _zhuangtai = value; }
			get { return _zhuangtai; }
		}
		/// <summary>
		/// 酒店编号json
		/// </summary>
		public string jdid_json
		{
			set { _jdid_json = value; }
			get { return _jdid_json; }
		}
		/// <summary>
		/// 类型 1主账号 2子账号
		/// </summary>
		public int leixing
		{
			set { _leixing = value; }
			get { return _leixing; }
		}
		/// <summary>
		/// 姓名
		/// </summary>
		public string xingming
		{
			set { _xingming = value; }
			get { return _xingming; }
		}
		/// <summary>
		/// guid,用于关联申请的酒店
		/// </summary>
		public string guid_jdyh
		{
			set { _guid_jdyh = value; }
			get { return _guid_jdyh; }
		}
		/// <summary>
		/// 主账号id
		/// </summary>
		public int mother_id
		{
			set { _mother_id = value; }
			get { return _mother_id; }
		}
		#endregion Model

		/// <summary>
		/// 账号类型字符串
		/// </summary>
		public string leixing_str { get; set; }

        /// <summary>
        /// 状态字符串
        /// </summary>
        public string zhuangtai_str { get; set; }

		/// <summary>
		/// 酒店名称列表，包含所有主账号的酒店数据，通过isselected判断是否是当前用户的
		/// </summary>
        public List<DTO_JDShort> lisjd { get; set; }

		/// <summary>
		/// 验证码
		/// </summary>
        public string yanzhengma { get; set; }

		/// <summary>
		/// 选中的酒店ID
		/// </summary>
		public List<int> lisjdid { get; set; }
    }
}